<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OrbbecSDK: header_cn/libobsensor/hpp/Device.hpp 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="orbbec_icon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OrbbecSDK
   &#160;<span id="projectnumber">1.8.3</span>
   </div>
   <div id="projectbrief">OrbbecSDK: 奥比中光 3D 相机开发套件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_9a5345e98321307492e41331ab8e5636.html">header_cn</a></li><li class="navelem"><a class="el" href="dir_a57403e30bad3723557b0550251f8216.html">libobsensor</a></li><li class="navelem"><a class="el" href="dir_8243e961fc5f523c63be320c0718524a.html">hpp</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Device.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="Device_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Types_8hpp.html">Types.hpp</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Property_8h.html">libobsensor/h/Property.h</a>&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">struct </span>DeviceImpl;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">struct </span>DeviceInfoImpl;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">struct </span>DeviceListImpl;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">struct </span>CameraParamListImpl;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceob.html">ob</a> {</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">class </span>SensorList;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">class </span>Context;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">class </span>DeviceInfo;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">class </span>Sensor;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">class </span>CameraParamList;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">class </span>OBDepthWorkModeList;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classob_1_1Device.html">   30</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1Device.html">Device</a> {</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    std::unique_ptr&lt;DeviceImpl&gt; impl_;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="classob_1_1Device.html">Device</a>(std::unique_ptr&lt;DeviceImpl&gt; impl);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="classob_1_1Device.html">Device</a>() noexcept;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    std::shared_ptr&lt;DeviceInfo&gt; getDeviceInfo();</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    std::shared_ptr&lt;SensorList&gt; getSensorList();</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    std::shared_ptr&lt;Sensor&gt; getSensor(<a class="code" href="ObTypes_8h.html#a0bf6f74f3eaabbf4a71720b9363b2aa8">OBSensorType</a> type);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordtype">void</span> setIntProperty(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, int32_t property);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordtype">void</span> setFloatProperty(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, <span class="keywordtype">float</span> property);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordtype">void</span> setBoolProperty(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, <span class="keywordtype">bool</span> property);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    int32_t getIntProperty(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordtype">float</span> getFloatProperty(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId);</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordtype">bool</span> getBoolProperty(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId);</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <a class="code" href="structOBIntPropertyRange.html">OBIntPropertyRange</a> getIntPropertyRange(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId);</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <a class="code" href="structOBFloatPropertyRange.html">OBFloatPropertyRange</a> getFloatPropertyRange(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId);</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <a class="code" href="structOBBoolPropertyRange.html">OBBoolPropertyRange</a> getBoolPropertyRange(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="keywordtype">void</span> writeAHB(uint32_t reg, uint32_t mask, uint32_t value);</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="keywordtype">void</span> readAHB(uint32_t reg, uint32_t mask, uint32_t *value);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="keywordtype">void</span> writeI2C(uint32_t moduleId, uint32_t reg, uint32_t mask, uint32_t value);</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    <span class="keywordtype">void</span> readI2C(uint32_t moduleId, uint32_t reg, uint32_t mask, uint32_t *value);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <span class="keywordtype">void</span> writeFlash(uint32_t offset, <span class="keyword">const</span> <span class="keywordtype">void</span> *data, uint32_t dataSize, <a class="code" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a> callback, <span class="keywordtype">bool</span> async = <span class="keyword">false</span>);</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keywordtype">void</span> readFlash(uint32_t offset, uint32_t dataSize, <a class="code" href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">GetDataCallback</a> callback, <span class="keywordtype">bool</span> async = <span class="keyword">false</span>);</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <span class="keywordtype">void</span> writeCustomerData(<span class="keyword">const</span> <span class="keywordtype">void</span> *data, uint32_t dataSize);</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class="keywordtype">void</span> readCustomerData(<span class="keywordtype">void</span> *data, uint32_t *dataSize);</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="keywordtype">void</span> setRawData(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, <span class="keyword">const</span> <span class="keywordtype">void</span> *data, uint32_t dataSize, <a class="code" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a> callback, <span class="keywordtype">bool</span> async = <span class="keyword">false</span>);</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <span class="keywordtype">void</span> getRawData(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, <a class="code" href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">GetDataCallback</a> callback, <span class="keywordtype">bool</span> async = <span class="keyword">false</span>);</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    <span class="keywordtype">void</span> setStructuredData(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, <span class="keyword">const</span> <span class="keywordtype">void</span> *data, uint32_t dataSize);</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keywordtype">void</span> getStructuredData(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, <span class="keywordtype">void</span> *data, uint32_t *dataSize);</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <span class="keywordtype">void</span> setStructuredDataExt(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, std::shared_ptr&lt;OBDataBundle&gt; dataBundle, <a class="code" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a> callback);</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    std::shared_ptr&lt;OBDataBundle&gt; getStructuredDataExt(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId);</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    <a class="code" href="structOBProtocolVersion.html">OBProtocolVersion</a> getProtocolVersion();</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    <a class="code" href="ObTypes_8h.html#a3831c1a41a610f549bd07c5c9872556f">OBCmdVersion</a> getCmdVersion(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId);</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    uint32_t getSupportedPropertyCount();</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    <a class="code" href="structOBPropertyItem.html">OBPropertyItem</a> getSupportedProperty(uint32_t index);</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <span class="keywordtype">bool</span> isPropertySupported(<a class="code" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, <a class="code" href="ObTypes_8h.html#aabf1ee574b8ce0e574add2cea5fdbe27">OBPermissionType</a> permission);</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    <span class="keywordtype">void</span> deviceUpgrade(<span class="keyword">const</span> <span class="keywordtype">char</span> *filePath, <a class="code" href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">DeviceUpgradeCallback</a> callback, <span class="keywordtype">bool</span> async = <span class="keyword">true</span>);</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    <span class="keywordtype">void</span> deviceUpgradeFromData(<span class="keyword">const</span> <span class="keywordtype">char</span> *fileData, uint32_t fileSize, <a class="code" href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">DeviceUpgradeCallback</a> callback, <span class="keywordtype">bool</span> async = <span class="keyword">true</span>);</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;    <span class="keywordtype">void</span> sendFile(<span class="keyword">const</span> <span class="keywordtype">char</span> *filePath, <span class="keyword">const</span> <span class="keywordtype">char</span> *dstPath, <a class="code" href="Types_8hpp.html#af4ed1a1867e655fa5e4b77e646f080a4">SendFileCallback</a> callback, <span class="keywordtype">bool</span> async = <span class="keyword">true</span>);</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    <a class="code" href="ObTypes_8h.html#a22fc53a75b8fa17029bb0befcb9c6829">OBDeviceState</a> getDeviceState();</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    <span class="keywordtype">void</span> setDeviceStateChangedCallback(<a class="code" href="Types_8hpp.html#a13d2e28ccdab82c8e22163d4b71f48aa">DeviceStateChangedCallback</a> callback);</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    <span class="keywordtype">bool</span> activateAuthorization(<span class="keyword">const</span> <span class="keywordtype">char</span> *authCode);</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    <span class="keywordtype">void</span> writeAuthorizationCode(<span class="keyword">const</span> <span class="keywordtype">char</span> *authCodeStr);</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    std::shared_ptr&lt;CameraParamList&gt; getCalibrationCameraParamList();</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;    <a class="code" href="structOBDepthWorkMode.html">OBDepthWorkMode</a> getCurrentDepthWorkMode();</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;    <a class="code" href="ObTypes_8h.html#a16946a0e76e54d58fe6a945fccc3190b">OBStatus</a> switchDepthWorkMode(<span class="keyword">const</span> <a class="code" href="structOBDepthWorkMode.html">OBDepthWorkMode</a> &amp;workMode);</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <a class="code" href="ObTypes_8h.html#a16946a0e76e54d58fe6a945fccc3190b">OBStatus</a> switchDepthWorkMode(<span class="keyword">const</span> <span class="keywordtype">char</span> *modeName);</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;    std::shared_ptr&lt;OBDepthWorkModeList&gt; getDepthWorkModeList();</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;    <span class="keywordtype">void</span> reboot();</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    <span class="keywordtype">void</span> reboot(uint32_t delayMs);</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    <a class="code" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> uint64_t syncDeviceTime();</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    <a class="code" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> <a class="code" href="structOBDeviceSyncConfig.html">OBDeviceSyncConfig</a> getSyncConfig();</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;    <a class="code" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> <span class="keywordtype">void</span> setSyncConfig(<span class="keyword">const</span> <a class="code" href="structOBDeviceSyncConfig.html">OBDeviceSyncConfig</a> &amp;deviceSyncConfig);</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;    uint16_t getSupportedMultiDeviceSyncModeBitmap();</div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;    <span class="keywordtype">void</span> setMultiDeviceSyncConfig(<span class="keyword">const</span> <a class="code" href="structob__multi__device__sync__config.html">OBMultiDeviceSyncConfig</a> &amp;config);</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;</div><div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;    <a class="code" href="structob__multi__device__sync__config.html">OBMultiDeviceSyncConfig</a> getMultiDeviceSyncConfig();</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;    <span class="keywordtype">void</span> triggerCapture();</div><div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;    <span class="keywordtype">void</span> setTimestampResetConfig(<span class="keyword">const</span> <a class="code" href="structob__device__timestamp__reset__config.html">OBDeviceTimestampResetConfig</a> &amp;config);</div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;</div><div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;    <a class="code" href="structob__device__timestamp__reset__config.html">OBDeviceTimestampResetConfig</a> getTimestampResetConfig();</div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;    <span class="keywordtype">void</span> timestampReset();</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;</div><div class="line"><a name="l00513"></a><span class="lineno"><a class="line" href="Device_8hpp.html#a929424a975e93e103d9e560472db47a0">  513</a></span>&#160;<span class="preprocessor">#define timerReset timestampReset</span></div><div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;    <span class="keywordtype">void</span> timerSyncWithHost();</div><div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;</div><div class="line"><a name="l00525"></a><span class="lineno"><a class="line" href="classob_1_1Device.html#af9f0f1adbd5baee7830839447205af8d">  525</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Pipeline.html">Pipeline</a>;</div><div class="line"><a name="l00526"></a><span class="lineno"><a class="line" href="classob_1_1Device.html#a2950f414c752afb074d9849f834ae58e">  526</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Recorder.html">Recorder</a>;</div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;};</div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;</div><div class="line"><a name="l00532"></a><span class="lineno"><a class="line" href="classob_1_1DeviceInfo.html">  532</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1DeviceInfo.html">DeviceInfo</a> {</div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;    std::unique_ptr&lt;DeviceInfoImpl&gt; impl_;</div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;</div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;    <a class="code" href="classob_1_1DeviceInfo.html">DeviceInfo</a>(std::unique_ptr&lt;DeviceInfoImpl&gt; impl);</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="classob_1_1DeviceInfo.html">DeviceInfo</a>() noexcept;</div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *name();</div><div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;</div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;    <span class="keywordtype">int</span> pid();</div><div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;</div><div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;    <span class="keywordtype">int</span> vid();</div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;</div><div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *uid();</div><div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;</div><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *serialNumber();</div><div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;</div><div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *firmwareVersion();</div><div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;</div><div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;    <a class="code" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *usbType();</div><div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;</div><div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *connectionType();</div><div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;</div><div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *ipAddress();</div><div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;</div><div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *hardwareVersion();</div><div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;</div><div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *supportedMinSdkVersion();</div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;</div><div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *extensionInfo();</div><div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;</div><div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *asicName();</div><div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;</div><div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;    <a class="code" href="ObTypes_8h.html#a4800aed5036eec930da88a589bb56ca1">OBDeviceType</a> deviceType();</div><div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;</div><div class="line"><a name="l00639"></a><span class="lineno"><a class="line" href="classob_1_1DeviceInfo.html#ac26c806e60ca4a0547680edb68f6e39b">  639</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Context.html">Context</a>;</div><div class="line"><a name="l00640"></a><span class="lineno"><a class="line" href="classob_1_1DeviceInfo.html#a9917364f8c1918d159a456cca5fc304b">  640</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1DeviceList.html">DeviceList</a>;</div><div class="line"><a name="l00641"></a><span class="lineno"><a class="line" href="classob_1_1DeviceInfo.html#af9f0f1adbd5baee7830839447205af8d">  641</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Pipeline.html">Pipeline</a>;</div><div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;};</div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;</div><div class="line"><a name="l00647"></a><span class="lineno"><a class="line" href="classob_1_1DeviceList.html">  647</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1DeviceList.html">DeviceList</a> {</div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;    std::unique_ptr&lt;DeviceListImpl&gt; impl_;</div><div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;</div><div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;    <a class="code" href="classob_1_1DeviceList.html">DeviceList</a>(std::unique_ptr&lt;DeviceListImpl&gt; impl);</div><div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;    ~<a class="code" href="classob_1_1DeviceList.html">DeviceList</a>() noexcept;</div><div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;</div><div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;    uint32_t deviceCount();</div><div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;</div><div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;    <a class="code" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *name(uint32_t index);</div><div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;</div><div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;    <span class="keywordtype">int</span> pid(uint32_t index);</div><div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;</div><div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;    <span class="keywordtype">int</span> vid(uint32_t index);</div><div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;</div><div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *uid(uint32_t index);</div><div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;</div><div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *serialNumber(uint32_t index);</div><div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;</div><div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *connectionType(uint32_t index);</div><div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;</div><div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *ipAddress(uint32_t index);</div><div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;    std::shared_ptr&lt;Device&gt; getDevice(uint32_t index);</div><div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;</div><div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;    std::shared_ptr&lt;Device&gt; getDeviceBySN(<span class="keyword">const</span> <span class="keywordtype">char</span> *serialNumber);</div><div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;</div><div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;    std::shared_ptr&lt;Device&gt; getDeviceByUid(<span class="keyword">const</span> <span class="keywordtype">char</span> *uid);</div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;};</div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;</div><div class="line"><a name="l00750"></a><span class="lineno"><a class="line" href="classob_1_1CameraParamList.html">  750</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1CameraParamList.html">CameraParamList</a> {</div><div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;    std::unique_ptr&lt;CameraParamListImpl&gt; impl_;</div><div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;</div><div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;    <a class="code" href="classob_1_1CameraParamList.html">CameraParamList</a>(std::unique_ptr&lt;CameraParamListImpl&gt; impl);</div><div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;    ~<a class="code" href="classob_1_1CameraParamList.html">CameraParamList</a>() noexcept;</div><div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;    uint32_t count();</div><div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;</div><div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;    <a class="code" href="structOBCameraParam.html">OBCameraParam</a> getCameraParam(uint32_t index);</div><div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;};</div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;</div><div class="line"><a name="l00776"></a><span class="lineno"><a class="line" href="classob_1_1OBDepthWorkModeList.html">  776</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1OBDepthWorkModeList.html">OBDepthWorkModeList</a> {</div><div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;    std::unique_ptr&lt;OBDepthWorkModeListImpl&gt; impl_;</div><div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;</div><div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;    <a class="code" href="classob_1_1OBDepthWorkModeList.html">OBDepthWorkModeList</a>(std::unique_ptr&lt;OBDepthWorkModeListImpl&gt; impl_);</div><div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;    ~<a class="code" href="classob_1_1OBDepthWorkModeList.html">OBDepthWorkModeList</a>();</div><div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;</div><div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;    uint32_t count();</div><div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;</div><div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;    <a class="code" href="structOBDepthWorkMode.html">OBDepthWorkMode</a> getOBDepthWorkMode(uint32_t index);</div><div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;</div><div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> *getName(uint32_t index);</div><div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;</div><div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;    <a class="code" href="structOBDepthWorkMode.html">OBDepthWorkMode</a> operator[](uint32_t index);</div><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;};</div><div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;</div><div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;}  <span class="comment">// namespace ob</span></div><div class="ttc" id="ObTypes_8h_html_a16946a0e76e54d58fe6a945fccc3190b"><div class="ttname"><a href="ObTypes_8h.html#a16946a0e76e54d58fe6a945fccc3190b">OBStatus</a></div><div class="ttdeci">OBStatus</div><div class="ttdoc">错误代码 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00100">ObTypes.h:100</a></div></div>
<div class="ttc" id="structob__device__timestamp__reset__config_html"><div class="ttname"><a href="structob__device__timestamp__reset__config.html">ob_device_timestamp_reset_config</a></div><div class="ttdoc">设备的时间戳重置配置 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l01139">ObTypes.h:1139</a></div></div>
<div class="ttc" id="ObTypes_8h_html_ac1e8a42306d8e67cb94ca31c3956ee78"><div class="ttname"><a href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a></div><div class="ttdeci">#define DEPRECATED</div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00039">ObTypes.h:39</a></div></div>
<div class="ttc" id="classob_1_1Recorder_html"><div class="ttname"><a href="classob_1_1Recorder.html">ob::Recorder</a></div><div class="ttdoc">Recorder 类, 实现帧录制功能 </div><div class="ttdef"><b>Definition:</b> <a href="RecordPlayback_8hpp_source.html#l00024">RecordPlayback.hpp:24</a></div></div>
<div class="ttc" id="structOBFloatPropertyRange_html"><div class="ttname"><a href="structOBFloatPropertyRange.html">OBFloatPropertyRange</a></div><div class="ttdoc">浮点型范围的结构体 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00312">ObTypes.h:312</a></div></div>
<div class="ttc" id="Property_8h_html"><div class="ttname"><a href="Property_8h.html">Property.h</a></div><div class="ttdoc">控制命令属性列表维护 </div></div>
<div class="ttc" id="classob_1_1OBDepthWorkModeList_html"><div class="ttname"><a href="classob_1_1OBDepthWorkModeList.html">ob::OBDepthWorkModeList</a></div><div class="ttdoc">相机深度模式列表 </div><div class="ttdef"><b>Definition:</b> <a href="Device_8hpp_source.html#l00776">Device.hpp:776</a></div></div>
<div class="ttc" id="structOBProtocolVersion_html"><div class="ttname"><a href="structOBProtocolVersion.html">OBProtocolVersion</a></div><div class="ttdoc">控制命令协议版本号 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00796">ObTypes.h:796</a></div></div>
<div class="ttc" id="classob_1_1CameraParamList_html"><div class="ttname"><a href="classob_1_1CameraParamList.html">ob::CameraParamList</a></div><div class="ttdoc">相机参数列表类 </div><div class="ttdef"><b>Definition:</b> <a href="Device_8hpp_source.html#l00750">Device.hpp:750</a></div></div>
<div class="ttc" id="Types_8hpp_html_a55032b39d9a625cc1b43684765ad46b1"><div class="ttname"><a href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a></div><div class="ttdeci">std::function&lt; void(OBDataTranState state, uint8_t percent)&gt; SetDataCallback</div><div class="ttdoc">设置 raw data 属性数据时进度回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00054">Types.hpp:54</a></div></div>
<div class="ttc" id="Types_8hpp_html_af4ed1a1867e655fa5e4b77e646f080a4"><div class="ttname"><a href="Types_8hpp.html#af4ed1a1867e655fa5e4b77e646f080a4">SendFileCallback</a></div><div class="ttdeci">std::function&lt; void(OBFileTranState state, const char *message, uint8_t percent)&gt; SendFileCallback</div><div class="ttdoc">文件传输回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00022">Types.hpp:22</a></div></div>
<div class="ttc" id="namespaceob_html"><div class="ttname"><a href="namespaceob.html">ob</a></div><div class="ttdef"><b>Definition:</b> <a href="Context_8hpp_source.html#l00014">Context.hpp:14</a></div></div>
<div class="ttc" id="classob_1_1Device_html"><div class="ttname"><a href="classob_1_1Device.html">ob::Device</a></div><div class="ttdoc">定义 Device 类 </div><div class="ttdef"><b>Definition:</b> <a href="Device_8hpp_source.html#l00030">Device.hpp:30</a></div></div>
<div class="ttc" id="Types_8hpp_html_a7ba2b2a9b8b236cd9d7bbbf666c49989"><div class="ttname"><a href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">DeviceUpgradeCallback</a></div><div class="ttdeci">std::function&lt; void(OBUpgradeState state, const char *message, uint8_t percent)&gt; DeviceUpgradeCallback</div><div class="ttdoc">设备升级回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00030">Types.hpp:30</a></div></div>
<div class="ttc" id="Property_8h_html_a9e7aac1ea041c8958ea8c6e3aa53bbab"><div class="ttname"><a href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a></div><div class="ttdeci">OBPropertyID</div><div class="ttdoc">描述设备所有的属性控制命令的枚举值 </div><div class="ttdef"><b>Definition:</b> <a href="Property_8h_source.html#l00021">Property.h:21</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a3831c1a41a610f549bd07c5c9872556f"><div class="ttname"><a href="ObTypes_8h.html#a3831c1a41a610f549bd07c5c9872556f">OBCmdVersion</a></div><div class="ttdeci">enum OB_CMD_VERSION OBCmdVersion</div></div>
<div class="ttc" id="ObTypes_8h_html_aabf1ee574b8ce0e574add2cea5fdbe27"><div class="ttname"><a href="ObTypes_8h.html#aabf1ee574b8ce0e574add2cea5fdbe27">OBPermissionType</a></div><div class="ttdeci">OBPermissionType</div><div class="ttdoc">接口 / 属性的访问权限类型 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00088">ObTypes.h:88</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a0bf6f74f3eaabbf4a71720b9363b2aa8"><div class="ttname"><a href="ObTypes_8h.html#a0bf6f74f3eaabbf4a71720b9363b2aa8">OBSensorType</a></div><div class="ttdeci">OBSensorType</div><div class="ttdoc">描述传感器类型的枚举值 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00150">ObTypes.h:150</a></div></div>
<div class="ttc" id="structOBCameraParam_html"><div class="ttname"><a href="structOBCameraParam.html">OBCameraParam</a></div><div class="ttdoc">相机参数 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00368">ObTypes.h:368</a></div></div>
<div class="ttc" id="Types_8hpp_html"><div class="ttname"><a href="Types_8hpp.html">Types.hpp</a></div><div class="ttdoc">提供 SDK 的结构体、枚举常量定义（依赖 libobsensor/h/ObTypes.h） </div></div>
<div class="ttc" id="Types_8hpp_html_a13d2e28ccdab82c8e22163d4b71f48aa"><div class="ttname"><a href="Types_8hpp.html#a13d2e28ccdab82c8e22163d4b71f48aa">DeviceStateChangedCallback</a></div><div class="ttdeci">std::function&lt; void(OBDeviceState state, const char *message)&gt; DeviceStateChangedCallback</div><div class="ttdoc">设备状态回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00038">Types.hpp:38</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a4800aed5036eec930da88a589bb56ca1"><div class="ttname"><a href="ObTypes_8h.html#a4800aed5036eec930da88a589bb56ca1">OBDeviceType</a></div><div class="ttdeci">OBDeviceType</div><div class="ttdoc">设备类型枚举 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00538">ObTypes.h:538</a></div></div>
<div class="ttc" id="Types_8hpp_html_ad61b52694f0b59f151b1a380d3db0876"><div class="ttname"><a href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">GetDataCallback</a></div><div class="ttdeci">std::function&lt; void(OBDataTranState state, OBDataChunk *dataChunk)&gt; GetDataCallback</div><div class="ttdoc">获取 raw data 属性数据时数据及进度回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00046">Types.hpp:46</a></div></div>
<div class="ttc" id="structOBDepthWorkMode_html"><div class="ttname"><a href="structOBDepthWorkMode.html">OBDepthWorkMode</a></div><div class="ttdoc">深度工作模式 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00781">ObTypes.h:781</a></div></div>
<div class="ttc" id="classob_1_1DeviceInfo_html"><div class="ttname"><a href="classob_1_1DeviceInfo.html">ob::DeviceInfo</a></div><div class="ttdoc">描述设备信息的类，如设备名称，id，序列号等信息。 </div><div class="ttdef"><b>Definition:</b> <a href="Device_8hpp_source.html#l00532">Device.hpp:532</a></div></div>
<div class="ttc" id="structOBPropertyItem_html"><div class="ttname"><a href="structOBPropertyItem.html">OBPropertyItem</a></div><div class="ttdoc">用于描述各个属性的特征 </div><div class="ttdef"><b>Definition:</b> <a href="Property_8h_source.html#l00632">Property.h:632</a></div></div>
<div class="ttc" id="classob_1_1DeviceList_html"><div class="ttname"><a href="classob_1_1DeviceList.html">ob::DeviceList</a></div><div class="ttdoc">表示设备列表的类 </div><div class="ttdef"><b>Definition:</b> <a href="Device_8hpp_source.html#l00647">Device.hpp:647</a></div></div>
<div class="ttc" id="classob_1_1Pipeline_html"><div class="ttname"><a href="classob_1_1Pipeline.html">ob::Pipeline</a></div><div class="ttdoc">Pipeline 类, 实现开关流、帧同步等 </div><div class="ttdef"><b>Definition:</b> <a href="Pipeline_8hpp_source.html#l00030">Pipeline.hpp:30</a></div></div>
<div class="ttc" id="classob_1_1Context_html"><div class="ttname"><a href="classob_1_1Context.html">ob::Context</a></div><div class="ttdoc">定义 Context 类, 用于获取设备列表，处理设备的回调，日志等级的设置操作 </div><div class="ttdef"><b>Definition:</b> <a href="Context_8hpp_source.html#l00023">Context.hpp:23</a></div></div>
<div class="ttc" id="structOBBoolPropertyRange_html"><div class="ttname"><a href="structOBBoolPropertyRange.html">OBBoolPropertyRange</a></div><div class="ttdoc">布尔型范围的结构体 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00323">ObTypes.h:323</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a22fc53a75b8fa17029bb0befcb9c6829"><div class="ttname"><a href="ObTypes_8h.html#a22fc53a75b8fa17029bb0befcb9c6829">OBDeviceState</a></div><div class="ttdeci">uint64_t OBDeviceState</div><div class="ttdoc">设备状态码 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00506">ObTypes.h:506</a></div></div>
<div class="ttc" id="structOBDeviceSyncConfig_html"><div class="ttname"><a href="structOBDeviceSyncConfig.html">OBDeviceSyncConfig</a></div><div class="ttdoc">设备同步配置 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00729">ObTypes.h:729</a></div></div>
<div class="ttc" id="structob__multi__device__sync__config_html"><div class="ttname"><a href="structob__multi__device__sync__config.html">ob_multi_device_sync_config</a></div><div class="ttdoc">设备的同步配置 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l01082">ObTypes.h:1082</a></div></div>
<div class="ttc" id="ObTypes_8h_html_aa0add2ff45ff52cc75dc92d44f883fbf"><div class="ttname"><a href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a></div><div class="ttdeci">#define OB_EXTENSION_API</div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00025">ObTypes.h:25</a></div></div>
<div class="ttc" id="structOBIntPropertyRange_html"><div class="ttname"><a href="structOBIntPropertyRange.html">OBIntPropertyRange</a></div><div class="ttdoc">整型范围的结构体 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00301">ObTypes.h:301</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2023年 十一月 24日 星期五 10:56:17 , 为 OrbbecSDK使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
